package text;

/**
 * 实验
 * */
public class Text001 {
	
	public interface Callback{
		void gohome();
		
	}
	
	private Callback mcallback;
	
	public Text001(Callback callback) {
		this.mcallback = callback;
	}

	public void funtion(){
		mcallback.gohome();
	}
}
